package com.foreknow.demo10;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author shkstart
 * @create 2021-07-29 15:20
 */
public class DateDemo {
    public static void main(String[] args) {
        Date date=new Date();
        SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd-星期F '\n'kk:mm");
        String format = sdf.format(date);
        System.out.println(format);


    }
}
